﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities.Auditing;

namespace BW.WMS.WareHouseCheck.DTO
{
    /// <summary>
    /// 库存查询DTO
    /// </summary>
    public class StockInquiryDTO: AuditedEntityDto<Guid>
    {
        /// <summary>
        /// 货品编码
        /// </summary>
        public string GoodsCode { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 货品状态
        /// true: 启用 false: 禁用
        /// </summary>
        public bool GoodsStatus { get; set; }

        /// <summary>
        /// 货品类型（外键）
        /// </summary>
        public Guid GoodsTypeId { get; set; }
        /// <summary>
        /// 货品类型名称
        /// </summary>
        public string GoodsTypeName { get; set; }
        /// <summary>
        /// 货品单位
        /// </summary>
        public string GoodsUnit { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 库区名称
        /// </summary>
        public string Name1 { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        [MaxLength(10)]
        public int Inventory { get; set; }

        /// <summary>
        /// 库存总金额
        /// </summary>
        public decimal SumPrice { get; set; }
    }
}
